const express = require('express')

const app = express()

app.listen(3000, () => {
    console.log('服务已开启。。。')
})
//:id为占位符
app.get('/:id.html', (req, res) => {
    console.log(req.params.id)
    res.end('12345')
})